package com.cdu.guoxinan.www.smartcom.service;

import com.cdu.guoxinan.www.smartcom.domian.dto.QueryRepairDTO;
import com.cdu.guoxinan.www.smartcom.domian.dto.RepairDTO;
import com.cdu.guoxinan.www.smartcom.domian.pojo.Repair;
import com.cdu.guoxinan.www.smartcom.domian.vo.RepairVO;
import com.github.pagehelper.PageInfo;

public interface RepairService {
    PageInfo<RepairVO> getAllRepairs(QueryRepairDTO queryRepairDTO);

    int addRepair(RepairDTO repairDTO);

    int updateRepair(Repair repair);

    int deleteRepair(Long recordId);

    int deleteBatch(Integer[] ids);
}
